
<script>
  function aaa(intro){
      $('#introduction').html(intro);
    }
</script>
<!-- /*圈子信息，修改接口，删除接口，翻页接口*/ -->

<ul class="breadcrumb">
  <li><a href="{:U(GROUP_NAME . '/Index/index')}">首页</a> <span class="divider">/</span></li>
  <li class="active">圈子管理</li>
</ul>
<h2 class="text-center">圈子列表</h2>
<table class="table">
        <thead>
            <tr>
                <td>圈子ID</td>
                <td>圈子名称</td> 
                <td>级别</td>
                <td>状态</td>
                <td>热度</td> 
                <td>创建时间</td> 
                <td>删除圈子</td>
                <!-- <td>编辑圈子</td> -->
            </tr>                           
        </thead>
        <tbody> 
        <volist name="circle" id="u">
          <tr>
            <td>{$u.c_id}</td>
            <td><a href="{:U(GROUP_NAME . '/Person/work_platform', array('d_id' => $u['d_id']))}">{$u.docname}</a></td>
            <td>
              <if condition="$u['degree']" >
              圈主
                <else />
              普通成员
              </if>
            </td>
            <td>
                <if condition="$u['status']">
                已审核
                <else />
                未审核
                </if>
            </td>
            <td>{$u.hot}</td> 
            <td>{$u.createtime}</td>
            <td>
              <a href="{:U(GROUP_NAME . '/Person/deleteCircleHandle', array('d_id' => $u['d_id']))}" onclick="return confirm('确定将此圈子删除?')"><i class="icon-remove"></i></a>
            </td>
            <!-- <td><a href="#myModal" data-toggle="modal"><i onclick="aaa('{$u.introduction}')" class="icon-edit tomodal"></i></a></td> -->
          </tr>
        </volist>
        </tbody>
</table>

<!-- <div class="pagination pagination-centered">
    <ul>
        <label>当前&nbsp;{$page.nowPage}&nbsp;页/共&nbsp;{$page.totalPages}&nbsp;页</label>
        <li><a href="__ACTION__/p/{$page.firstPage}">第一页</a></li>
        <li><a href="__ACTION__/p/{$page.prePage}">上一页</a></li>
        <li><a href="__ACTION__/p/{$page.nextPage}">下一页</a></li>
        <li><a href="__ACTION__/p/{$page.totalPages}">最后一页</a></li>
    </ul>
</div> -->
